package cn.z2huo.knowledge.basic.string.substring;

/**
 * <p>
 *
 * @author z2huo
 */
class Test {

    public static void main(String[] args) {
        String string = "abc";
        System.out.println(string.substring(0, 0));
        System.out.println(string.substring(0, 1));
        System.out.println(string.substring(3, 4));
    }
}
